package com.example.inter;

import com.example.factory.MybatisImportBeanDefinitionRegister;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName YinScan
 * @Description
 * @Author Yin
 * @Date 2021/4/8 19:02
 * @Version 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(MybatisImportBeanDefinitionRegister.class) //另一种定义bean的方式
public @interface YinScan {
    String value();
}
